package com.eva.service.cms.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("基础栏目节点对象")
public class BaseCmsCategoryNode {

    @ApiModelProperty(value="主键")
    private Integer id;

    @ApiModelProperty(value="父栏目ID")
    private Integer parentId;

    @ApiModelProperty(value="唯一标识")
    private String uid;

    @ApiModelProperty(value="栏目标题")
    private String title;

    @ApiModelProperty(value="栏目类型")
    private String type;

    @ApiModelProperty(value="访问地址")
    private String uri;

    @ApiModelProperty(value="图标")
    private String icon;

    @ApiModelProperty(value="子栏目")
    private List<? extends BaseCmsCategoryNode> children;
}
